class Example{

    static void main(String[] args){
        def list1 = []
        def list2 = [1,2,3,4,5]
        list2.add(8);
        println(list2.size())

        def list3 = ['a',"b",list2,10,30]
        println list3

        def list4 = list2.plus(list3)
        println list4

        def list5 = list4.minus(list3)
        println list5

        def list6 = list4.sort();
        println list6

    }
}